cmake_minimum_required(VERSION 3.4.1)
#设置编译指令
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-rtti -fno-exceptions -Wall")



# Include libraries needed for Triangle lib
add_library( render
             SHARED
             src/main/cpp/RenderTexture.cpp
             #src/main/cpp/Render.cpp
             #src/main/cpp/TextureTest.cpp
             )
target_link_libraries(render
                      GLESv3
                      android
                      EGL
                      log
                      m)